WordDocumentReplace(String, IListRun, ReplaceIn) Method
Replaces all occurrences of the specified text with a collection of run objects.
Namespace: Independentsoft.Office.WordAssembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
public void Replace(
string text,
IList<Run> runs,
ReplaceIn replaceIn
)
Public Sub Replace (
text As String,
runs As IList(Of Run),
replaceIn As ReplaceIn
)
Parameters
- text String
- A strings to replace.
- runs IListRun
- A collection of Run objects that replaces text.
- replaceIn ReplaceIn
- Replace scope.